package com.diy.sigmund.diyuser.common.spring.config.oauth2;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author ylm-sigmund
 * @since 2021/8/25 16:55
 */
@Component
public class OAuth2ClientConfig {

    /** client-id */
    @Value("${security.oauth2.client.client-id}")
    private String clientId;
    /** client-secret */
    @Value("${security.oauth2.client.client-secret}")
    private String clientSecret;

    public String getClientId() {
        return clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }
}
